import { IPSAppUtilPage } from './ipsapp-util-page';
import { PSModelObjectImpl } from '../psmodel-object-impl';

export class PSAppUtilPageImpl extends PSModelObjectImpl implements IPSAppUtilPage {
  get codeName(): string {
    return this.M.codeName;
  }

  get dynaModelFilePath(): string {
    return this.M.dynaModelFilePath;
  }

  get memo(): string {
    return this.M.memo;
  }

  get name(): 'DOWNLOADTMPFILE' | 'LOGIN' | 'LOGOUT' | 'START' | 'USER' | 'USER2' | 'USER3' | 'USER4' | 'USER5' | 'USER6' | 'USER7' | 'USER8' | 'USER9' {
    return this.M.name;
  }

  get pageUrl(): string {
    return this.M.pageUrl;
  }

  get targetType(): 'PAGEURL' | 'APPVIEW' {
    return this.M.targetType;
  }

  get userCat(): string {
    return this.M.userCat;
  }

  get userTag(): string {
    return this.M.userTag;
  }

  get userTag2(): string {
    return this.M.userTag2;
  }

  get userTag3(): string {
    return this.M.userTag3;
  }

  get userTag4(): string {
    return this.M.userTag4;
  }

  get cls(): string {
    return 'PSAppUtilPageImpl';
  }

  instanceof(cls: string): boolean {
    if (cls == 'app.IPSAppUtilPage') return true;
    return super.instanceof(cls);
  }
}
